Optimal. Leaf size=155 \[ -\frac {b^5 (5 b d-6 a e) x}{e^6}+\frac {b^6 x^2}{2 e^5}-\frac {(b d-a e)^6}{4 e^7 (d+e x)^4}+\frac {2 b (b d-a e)^5}{e^7 (d+e x)^3}-\frac {15 b^2 (b d-a e)^4}{2 e^7 (d+e x)^2}+\frac {20 b^3 (b d-a e)^3}{e^7 (d+e x)}+\frac {15 b^4 (b d-a e)^2 \log (d+e x)}{e^7} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 155, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {27, 45}
\begin {gather*} -\frac {b^5 x (5 b d-6 a e)}{e^6}+\frac {15 b^4 (b d-a e)^2 \log (d+e x)}{e^7}+\frac {20 b^3 (b d-a e)^3}{e^7 (d+e x)}-\frac {15 b^2 (b d-a e)^4}{2 e^7 (d+e x)^2}+\frac {2 b (b d-a e)^5}{e^7 (d+e x)^3}-\frac {(b d-a e)^6}{4 e^7 (d+e x)^4}+\frac {b^6 x^2}{2 e^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 45
Rubi steps
\begin {align*} \int \frac {\left (a^2+2 a b x+b^2 x^2\right )^3}{(d+e x)^5} \, dx &=\int \frac {(a+b x)^6}{(d+e x)^5} \, dx\\ &=\int \left (-\frac {b^5 (5 b d-6 a e)}{e^6}+\frac {b^6 x}{e^5}+\frac {(-b d+a e)^6}{e^6 (d+e x)^5}-\frac {6 b (b d-a e)^5}{e^6 (d+e x)^4}+\frac {15 b^2 (b d-a e)^4}{e^6 (d+e x)^3}-\frac {20 b^3 (b d-a e)^3}{e^6 (d+e x)^2}+\frac {15 b^4 (b d-a e)^2}{e^6 (d+e x)}\right ) \, dx\\ &=-\frac {b^5 (5 b d-6 a e) x}{e^6}+\frac {b^6 x^2}{2 e^5}-\frac {(b d-a e)^6}{4 e^7 (d+e x)^4}+\frac {2 b (b d-a e)^5}{e^7 (d+e x)^3}-\frac {15 b^2 (b d-a e)^4}{2 e^7 (d+e x)^2}+\frac {20 b^3 (b d-a e)^3}{e^7 (d+e x)}+\frac {15 b^4 (b d-a e)^2 \log (d+e x)}{e^7}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 301, normalized size = 1.94 \begin {gather*} -\frac {a^6 e^6+2 a^5 b e^5 (d+4 e x)+5 a^4 b^2 e^4 \left (d^2+4 d e x+6 e^2 x^2\right )+20 a^3 b^3 e^3 \left (d^3+4 d^2 e x+6 d e^2 x^2+4 e^3 x^3\right )-5 a^2 b^4 d e^2 \left (25 d^3+88 d^2 e x+108 d e^2 x^2+48 e^3 x^3\right )+2 a b^5 e \left (77 d^5+248 d^4 e x+252 d^3 e^2 x^2+48 d^2 e^3 x^3-48 d e^4 x^4-12 e^5 x^5\right )-b^6 \left (57 d^6+168 d^5 e x+132 d^4 e^2 x^2-32 d^3 e^3 x^3-68 d^2 e^4 x^4-12 d e^5 x^5+2 e^6 x^6\right )-60 b^4 (b d-a e)^2 (d+e x)^4 \log (d+e x)}{4 e^7 (d+e x)^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(342\) vs.
\(2(149)=298\).
time = 0.63, size = 343, normalized size = 2.21
method | result | size |
default | \(\frac {b^{5} \left (\frac {1}{2} b e \,x^{2}+6 a e x -5 x b d \right )}{e^{6}}-\frac {15 b^{2} \left (e^{4} a^{4}-4 a^{3} b d \,e^{3}+6 a^{2} b^{2} d^{2} e^{2}-4 a \,b^{3} d^{3} e +b^{4} d^{4}\right )}{2 e^{7} \left (e x +d \right )^{2}}-\frac {2 b \left (a^{5} e^{5}-5 a^{4} b d \,e^{4}+10 a^{3} b^{2} d^{2} e^{3}-10 a^{2} b^{3} d^{3} e^{2}+5 a \,b^{4} d^{4} e -b^{5} d^{5}\right )}{e^{7} \left (e x +d \right )^{3}}-\frac {20 b^{3} \left (e^{3} a^{3}-3 a^{2} b d \,e^{2}+3 a \,b^{2} d^{2} e -b^{3} d^{3}\right )}{e^{7} \left (e x +d \right )}+\frac {15 b^{4} \left (a^{2} e^{2}-2 a b d e +b^{2} d^{2}\right ) \ln \left (e x +d \right )}{e^{7}}-\frac {a^{6} e^{6}-6 a^{5} b d \,e^{5}+15 a^{4} b^{2} d^{2} e^{4}-20 a^{3} b^{3} d^{3} e^{3}+15 a^{2} b^{4} d^{4} e^{2}-6 a \,b^{5} d^{5} e +b^{6} d^{6}}{4 e^{7} \left (e x +d \right )^{4}}\) | \(343\) |
norman | \(\frac {-\frac {a^{6} e^{6}+2 a^{5} b d \,e^{5}+5 a^{4} b^{2} d^{2} e^{4}+20 a^{3} b^{3} d^{3} e^{3}-125 a^{2} b^{4} d^{4} e^{2}+250 a \,b^{5} d^{5} e -125 b^{6} d^{6}}{4 e^{7}}+\frac {b^{6} x^{6}}{2 e}-\frac {4 \left (5 e^{3} a^{3} b^{3}-15 d \,e^{2} a^{2} b^{4}+30 d^{2} e a \,b^{5}-15 d^{3} b^{6}\right ) x^{3}}{e^{4}}-\frac {3 \left (5 e^{4} a^{4} b^{2}+20 d \,e^{3} a^{3} b^{3}-90 d^{2} e^{2} a^{2} b^{4}+180 d^{3} e a \,b^{5}-90 d^{4} b^{6}\right ) x^{2}}{2 e^{5}}-\frac {\left (2 a^{5} b \,e^{5}+5 d \,e^{4} a^{4} b^{2}+20 d^{2} e^{3} a^{3} b^{3}-110 d^{3} e^{2} a^{2} b^{4}+220 d^{4} e a \,b^{5}-110 d^{5} b^{6}\right ) x}{e^{6}}+\frac {3 b^{5} \left (2 a e -b d \right ) x^{5}}{e^{2}}}{\left (e x +d \right )^{4}}+\frac {15 b^{4} \left (a^{2} e^{2}-2 a b d e +b^{2} d^{2}\right ) \ln \left (e x +d \right )}{e^{7}}\) | \(348\) |
risch | \(\frac {b^{6} x^{2}}{2 e^{5}}+\frac {6 b^{5} a x}{e^{5}}-\frac {5 b^{6} x d}{e^{6}}+\frac {\left (-20 e^{5} a^{3} b^{3}+60 a^{2} b^{4} d \,e^{4}-60 d^{2} e^{3} a \,b^{5}+20 d^{3} e^{2} b^{6}\right ) x^{3}-\frac {15 b^{2} e \left (e^{4} a^{4}+4 a^{3} b d \,e^{3}-18 a^{2} b^{2} d^{2} e^{2}+20 a \,b^{3} d^{3} e -7 b^{4} d^{4}\right ) x^{2}}{2}-b \left (2 a^{5} e^{5}+5 a^{4} b d \,e^{4}+20 a^{3} b^{2} d^{2} e^{3}-110 a^{2} b^{3} d^{3} e^{2}+130 a \,b^{4} d^{4} e -47 b^{5} d^{5}\right ) x -\frac {a^{6} e^{6}+2 a^{5} b d \,e^{5}+5 a^{4} b^{2} d^{2} e^{4}+20 a^{3} b^{3} d^{3} e^{3}-125 a^{2} b^{4} d^{4} e^{2}+154 a \,b^{5} d^{5} e -57 b^{6} d^{6}}{4 e}}{e^{6} \left (e x +d \right )^{4}}+\frac {15 b^{4} \ln \left (e x +d \right ) a^{2}}{e^{5}}-\frac {30 b^{5} \ln \left (e x +d \right ) a d}{e^{6}}+\frac {15 b^{6} \ln \left (e x +d \right ) d^{2}}{e^{7}}\) | \(357\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 366 vs.
\(2 (153) = 306\).
time = 0.29, size = 366, normalized size = 2.36 \begin {gather*} 15 \, {\left (b^{6} d^{2} - 2 \, a b^{5} d e + a^{2} b^{4} e^{2}\right )} e^{\left (-7\right )} \log \left (x e + d\right ) + \frac {1}{2} \, {\left (b^{6} x^{2} e - 2 \, {\left (5 \, b^{6} d - 6 \, a b^{5} e\right )} x\right )} e^{\left (-6\right )} + \frac {57 \, b^{6} d^{6} - 154 \, a b^{5} d^{5} e + 125 \, a^{2} b^{4} d^{4} e^{2} - 20 \, a^{3} b^{3} d^{3} e^{3} - 5 \, a^{4} b^{2} d^{2} e^{4} - 2 \, a^{5} b d e^{5} - a^{6} e^{6} + 80 \, {\left (b^{6} d^{3} e^{3} - 3 \, a b^{5} d^{2} e^{4} + 3 \, a^{2} b^{4} d e^{5} - a^{3} b^{3} e^{6}\right )} x^{3} + 30 \, {\left (7 \, b^{6} d^{4} e^{2} - 20 \, a b^{5} d^{3} e^{3} + 18 \, a^{2} b^{4} d^{2} e^{4} - 4 \, a^{3} b^{3} d e^{5} - a^{4} b^{2} e^{6}\right )} x^{2} + 4 \, {\left (47 \, b^{6} d^{5} e - 130 \, a b^{5} d^{4} e^{2} + 110 \, a^{2} b^{4} d^{3} e^{3} - 20 \, a^{3} b^{3} d^{2} e^{4} - 5 \, a^{4} b^{2} d e^{5} - 2 \, a^{5} b e^{6}\right )} x}{4 \, {\left (x^{4} e^{11} + 4 \, d x^{3} e^{10} + 6 \, d^{2} x^{2} e^{9} + 4 \, d^{3} x e^{8} + d^{4} e^{7}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 537 vs.
\(2 (153) = 306\).
time = 2.10, size = 537, normalized size = 3.46 \begin {gather*} \frac {57 \, b^{6} d^{6} + {\left (2 \, b^{6} x^{6} + 24 \, a b^{5} x^{5} - 80 \, a^{3} b^{3} x^{3} - 30 \, a^{4} b^{2} x^{2} - 8 \, a^{5} b x - a^{6}\right )} e^{6} - 2 \, {\left (6 \, b^{6} d x^{5} - 48 \, a b^{5} d x^{4} - 120 \, a^{2} b^{4} d x^{3} + 60 \, a^{3} b^{3} d x^{2} + 10 \, a^{4} b^{2} d x + a^{5} b d\right )} e^{5} - {\left (68 \, b^{6} d^{2} x^{4} + 96 \, a b^{5} d^{2} x^{3} - 540 \, a^{2} b^{4} d^{2} x^{2} + 80 \, a^{3} b^{3} d^{2} x + 5 \, a^{4} b^{2} d^{2}\right )} e^{4} - 4 \, {\left (8 \, b^{6} d^{3} x^{3} + 126 \, a b^{5} d^{3} x^{2} - 110 \, a^{2} b^{4} d^{3} x + 5 \, a^{3} b^{3} d^{3}\right )} e^{3} + {\left (132 \, b^{6} d^{4} x^{2} - 496 \, a b^{5} d^{4} x + 125 \, a^{2} b^{4} d^{4}\right )} e^{2} + 14 \, {\left (12 \, b^{6} d^{5} x - 11 \, a b^{5} d^{5}\right )} e + 60 \, {\left (b^{6} d^{6} + a^{2} b^{4} x^{4} e^{6} - 2 \, {\left (a b^{5} d x^{4} - 2 \, a^{2} b^{4} d x^{3}\right )} e^{5} + {\left (b^{6} d^{2} x^{4} - 8 \, a b^{5} d^{2} x^{3} + 6 \, a^{2} b^{4} d^{2} x^{2}\right )} e^{4} + 4 \, {\left (b^{6} d^{3} x^{3} - 3 \, a b^{5} d^{3} x^{2} + a^{2} b^{4} d^{3} x\right )} e^{3} + {\left (6 \, b^{6} d^{4} x^{2} - 8 \, a b^{5} d^{4} x + a^{2} b^{4} d^{4}\right )} e^{2} + 2 \, {\left (2 \, b^{6} d^{5} x - a b^{5} d^{5}\right )} e\right )} \log \left (x e + d\right )}{4 \, {\left (x^{4} e^{11} + 4 \, d x^{3} e^{10} + 6 \, d^{2} x^{2} e^{9} + 4 \, d^{3} x e^{8} + d^{4} e^{7}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 394 vs.
\(2 (143) = 286\).
time = 106.53, size = 394, normalized size = 2.54 \begin {gather*} \frac {b^{6} x^{2}}{2 e^{5}} + \frac {15 b^{4} \left (a e - b d\right )^{2} \log {\left (d + e x \right )}}{e^{7}} + x \left (\frac {6 a b^{5}}{e^{5}} - \frac {5 b^{6} d}{e^{6}}\right ) + \frac {- a^{6} e^{6} - 2 a^{5} b d e^{5} - 5 a^{4} b^{2} d^{2} e^{4} - 20 a^{3} b^{3} d^{3} e^{3} + 125 a^{2} b^{4} d^{4} e^{2} - 154 a b^{5} d^{5} e + 57 b^{6} d^{6} + x^{3} \left (- 80 a^{3} b^{3} e^{6} + 240 a^{2} b^{4} d e^{5} - 240 a b^{5} d^{2} e^{4} + 80 b^{6} d^{3} e^{3}\right ) + x^{2} \left (- 30 a^{4} b^{2} e^{6} - 120 a^{3} b^{3} d e^{5} + 540 a^{2} b^{4} d^{2} e^{4} - 600 a b^{5} d^{3} e^{3} + 210 b^{6} d^{4} e^{2}\right ) + x \left (- 8 a^{5} b e^{6} - 20 a^{4} b^{2} d e^{5} - 80 a^{3} b^{3} d^{2} e^{4} + 440 a^{2} b^{4} d^{3} e^{3} - 520 a b^{5} d^{4} e^{2} + 188 b^{6} d^{5} e\right )}{4 d^{4} e^{7} + 16 d^{3} e^{8} x + 24 d^{2} e^{9} x^{2} + 16 d e^{10} x^{3} + 4 e^{11} x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 514 vs.
\(2 (153) = 306\).
time = 1.74, size = 514, normalized size = 3.32 \begin {gather*} \frac {1}{2} \, {\left (b^{6} - \frac {12 \, {\left (b^{6} d e - a b^{5} e^{2}\right )} e^{\left (-1\right )}}{x e + d}\right )} {\left (x e + d\right )}^{2} e^{\left (-7\right )} - 15 \, {\left (b^{6} d^{2} - 2 \, a b^{5} d e + a^{2} b^{4} e^{2}\right )} e^{\left (-7\right )} \log \left (\frac {{\left | x e + d \right |} e^{\left (-1\right )}}{{\left (x e + d\right )}^{2}}\right ) + \frac {1}{4} \, {\left (\frac {80 \, b^{6} d^{3} e^{29}}{x e + d} - \frac {30 \, b^{6} d^{4} e^{29}}{{\left (x e + d\right )}^{2}} + \frac {8 \, b^{6} d^{5} e^{29}}{{\left (x e + d\right )}^{3}} - \frac {b^{6} d^{6} e^{29}}{{\left (x e + d\right )}^{4}} - \frac {240 \, a b^{5} d^{2} e^{30}}{x e + d} + \frac {120 \, a b^{5} d^{3} e^{30}}{{\left (x e + d\right )}^{2}} - \frac {40 \, a b^{5} d^{4} e^{30}}{{\left (x e + d\right )}^{3}} + \frac {6 \, a b^{5} d^{5} e^{30}}{{\left (x e + d\right )}^{4}} + \frac {240 \, a^{2} b^{4} d e^{31}}{x e + d} - \frac {180 \, a^{2} b^{4} d^{2} e^{31}}{{\left (x e + d\right )}^{2}} + \frac {80 \, a^{2} b^{4} d^{3} e^{31}}{{\left (x e + d\right )}^{3}} - \frac {15 \, a^{2} b^{4} d^{4} e^{31}}{{\left (x e + d\right )}^{4}} - \frac {80 \, a^{3} b^{3} e^{32}}{x e + d} + \frac {120 \, a^{3} b^{3} d e^{32}}{{\left (x e + d\right )}^{2}} - \frac {80 \, a^{3} b^{3} d^{2} e^{32}}{{\left (x e + d\right )}^{3}} + \frac {20 \, a^{3} b^{3} d^{3} e^{32}}{{\left (x e + d\right )}^{4}} - \frac {30 \, a^{4} b^{2} e^{33}}{{\left (x e + d\right )}^{2}} + \frac {40 \, a^{4} b^{2} d e^{33}}{{\left (x e + d\right )}^{3}} - \frac {15 \, a^{4} b^{2} d^{2} e^{33}}{{\left (x e + d\right )}^{4}} - \frac {8 \, a^{5} b e^{34}}{{\left (x e + d\right )}^{3}} + \frac {6 \, a^{5} b d e^{34}}{{\left (x e + d\right )}^{4}} - \frac {a^{6} e^{35}}{{\left (x e + d\right )}^{4}}\right )} e^{\left (-36\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.15, size = 387, normalized size = 2.50 \begin {gather*} x\,\left (\frac {6\,a\,b^5}{e^5}-\frac {5\,b^6\,d}{e^6}\right )-\frac {x^2\,\left (\frac {15\,a^4\,b^2\,e^5}{2}+30\,a^3\,b^3\,d\,e^4-135\,a^2\,b^4\,d^2\,e^3+150\,a\,b^5\,d^3\,e^2-\frac {105\,b^6\,d^4\,e}{2}\right )+\frac {a^6\,e^6+2\,a^5\,b\,d\,e^5+5\,a^4\,b^2\,d^2\,e^4+20\,a^3\,b^3\,d^3\,e^3-125\,a^2\,b^4\,d^4\,e^2+154\,a\,b^5\,d^5\,e-57\,b^6\,d^6}{4\,e}+x\,\left (2\,a^5\,b\,e^5+5\,a^4\,b^2\,d\,e^4+20\,a^3\,b^3\,d^2\,e^3-110\,a^2\,b^4\,d^3\,e^2+130\,a\,b^5\,d^4\,e-47\,b^6\,d^5\right )+x^3\,\left (20\,a^3\,b^3\,e^5-60\,a^2\,b^4\,d\,e^4+60\,a\,b^5\,d^2\,e^3-20\,b^6\,d^3\,e^2\right )}{d^4\,e^6+4\,d^3\,e^7\,x+6\,d^2\,e^8\,x^2+4\,d\,e^9\,x^3+e^{10}\,x^4}+\frac {b^6\,x^2}{2\,e^5}+\frac {\ln \left (d+e\,x\right )\,\left (15\,a^2\,b^4\,e^2-30\,a\,b^5\,d\,e+15\,b^6\,d^2\right )}{e^7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________